/**
 * Filename: YNMusicTheme.java
 * @author  Firefly
 * @contact postfirefly@163.com
 * @time    2016/5/8 16:19
 */
package com.github.postsanf.yinian.bean;

import java.util.List;

/**
 * 忆年音乐相册主题类
 */
public class YNMusicTheme extends BaseBean
{
    private int    templetID;									    // ID
    private String templetName;										// 音乐主题名称
    private String templetPic;										// 音乐主题封面
    private String templetUrl;										// 音乐主题地址
    private int    templetDefaultMusicID;                           // 模板默认音乐ID
    private String templetDefaultMusicUrl;                           // 模板默认音乐地址
    private String templetProportion;                               // 模板图片宽高比列表
    private List<YNMusic> music;                                    // 音乐地址列表

    public int getTempletID() {
        return templetID;
    }

    public void setTempletID(int templetID) {
        this.templetID = templetID;
    }

    public String getTempletName() {
        return templetName;
    }

    public void setTempletName(String templetName) {
        this.templetName = templetName;
    }

    public String getTempletPic() {
        return templetPic;
    }

    public void setTempletPic(String templetPic) {
        this.templetPic = templetPic;
    }

    public String getTempletUrl() {
        return templetUrl;
    }

    public void setTempletUrl(String templetUrl) {
        this.templetUrl = templetUrl;
    }

    public int getTempletDefaultMusicID() {
        return templetDefaultMusicID;
    }

    public void setTempletDefaultMusicID(int templetDefaultMusicID) {
        this.templetDefaultMusicID = templetDefaultMusicID;
    }

    public String getTempletDefaultMusicUrl() {
        return templetDefaultMusicUrl;
    }

    public void setTempletDefaultMusicUrl(String templetDefaultMusicUrl) {
        this.templetDefaultMusicUrl = templetDefaultMusicUrl;
    }

    public String getTempletProportion() {
        return templetProportion;
    }

    public void setTempletProportion(String templetProportion) {
        this.templetProportion = templetProportion;
    }

    public List<YNMusic> getMusic() {
        return music;
    }

    public void setMusic(List<YNMusic> music) {
        this.music = music;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNMusicTheme) {
            return this.templetID == ((YNMusicTheme) o).templetID;
        }
        return super.equals(o);
    }
}
